package org.csu.logistics.Service;

import org.csu.logistics.common.CommonResponse;
import org.csu.logistics.entity.Order;

import java.util.List;

public interface OrderService {
    void insert_order(Order order);
    void delete_orderByOrderNum(int orderNum);
    void update_order(Order order);
    Order select_orderByOrderNum(int orderNum);
    Order select_orderByUserId(int userId);
    List<Order> select_orderList();
    List<Order> select_orderListByUserId(int userId);
    List<Order> select_orderListByOrderStatus(String orderStatus);
}
